package week02.day02;

import java.util.Scanner;

/**
 * 语法结构：
 * if(条件表达式){
 *      代码块
 * }
 */

public class 单分支结构 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入成绩：");
        int chengji = sc.nextInt();
        if (chengji>=60){
            System.out.println("成绩及格");
        }
        if (chengji<60){
            System.out.println("成绩不及格");
        }
    }
}
